#include "mboard.h"
#include "mdebug.h"
#include "mgdb.h"
#include "mdisplay.h"
#include "stk_hw.h"
#include "apps.h"

int main(void)
{
	mBoardInit();
	mDebugPuts(MDISPLAY_DEFINE_FROM_BOLD
	           MDISPLAY_DEFINE_FOREGROUND_BLUE
			   __TIMESTAMP__
	           MDISPLAY_DEFINE_FROM_DEFAULT);
	//mBoardTest();
	//mLedTest();
	//mTimBaseTest();
	//mKeyTest();
	//mDmaTest();
	//mUsartTest();
	//mSdioTest();
	//mSpiTest();
	//mI2cTest();
	mFsmcTest();

	//sd_card_format();
	//sd_card_mount();
	//sd_card_test();

	mBoardGoIdle();
	mGdbCmd(MGDB_QUIT);

	return 0;
}
